package com.example.demo.response.supplier;

import com.example.demo.entity.DictItem;
import com.example.demo.entity.ProductSupplier;
import lombok.Data;

import java.util.List;

@Data
public class DetailFormat extends ProductSupplier {
    public List<DictItem> insure_kind_list;
    public List<DictItem> agreement;

    public DetailFormat(ProductSupplier ProductSupplier, List<DictItem> insure_kind_list ,List<DictItem> agreement){
        this.insure_kind_list = insure_kind_list;
        this.agreement = agreement;
        this.company_name = ProductSupplier.company_name;
        this.supplier_name = ProductSupplier.supplier_name;
        this.supplier_code = ProductSupplier.supplier_code;
        this.bank_account = ProductSupplier.bank_account;
        this.bank_account_name = ProductSupplier.bank_account_name;
        this.bank_branch_name = ProductSupplier.bank_branch_name;
        this.bank_city = ProductSupplier.bank_city;
        this.bank_county = ProductSupplier.bank_county;
        this.bank_name = ProductSupplier.bank_name;
        this.bank_province = ProductSupplier.bank_province;
    }
}
